package com.ysx.oa.clazz.dao;

import com.ysx.oa.clazz.bean.ClazzStudentTeacherBean;
import com.ysx.oa.clazz.entity.ClazzStudentTeacherEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @author 李伟伟
 * @date 2021/11/22 17:28
 */
@Mapper
@Repository
public interface ClazzStudentTeacherDao extends BaseMapper<ClazzStudentTeacherBean> {

    /*
     * 方法描述:删除学生的班级信息
     * @author: 尹泳超
     * @date: 2021/11/25 17:11
     * @params: [userId]
     * @returns:java.lang.Integer
     */
    Integer deleteStudent( List<Integer> userId);


    /*
     * 方法描述:查找所有学生的班级
     * @author: 尹泳超
     * @date: 2021/11/25 17:11
     * @params: []
     * @returns:java.util.List<com.ysx.oa.clazz.entity.ClazzStudentTeacherEntity>
     */
    List<ClazzStudentTeacherEntity> findAll();







}
